package com.xydtech.ecard.ftp.enums;

/**
 * @Author: liliya
 * @Description: "sheet-贷款调整项"
 * @Date: Created in 2023/8/20 0:48
 * @Modified:
 */

public enum FtpLoanAdjustmentItemEnum {

    LOANS_3M6M_90(90,"3M6M_90");

    private int value;
    private String label;

    FtpLoanAdjustmentItemEnum(int value, String label) {
        this.value = value;
        this.label = label;
    }

    public int getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }

    public static FtpLoanAdjustmentItemEnum values(int code){
        for(FtpLoanAdjustmentItemEnum enums : FtpLoanAdjustmentItemEnum.values()){
            if(enums.getValue() == code){
                return enums;
            }
        }
        return null;
    }



}
